package com.jiangore.service.impl;

import com.jiangore.dao.MemberDao;
import com.jiangore.entity.Member;
import com.jiangore.service.IMemberService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Todo
 * @Author jiangtao
 * @CreateBy 2020-03-09 10:33 PM
 * @UpdateBy jiangtao
 * @Version v1.0
 */
@Slf4j
@Service
public class MemberServiceImpl implements IMemberService {

    @Resource
    private MemberDao dao;

    @Override
    public int deleteById(int id) {
        return dao.deleteById(id);
    }

    @Override
    public Member selectById(int id) {
        return dao.selectById(id);
    }
}
